package it.greg.findparty.android.ui;

import it.greg.findparty.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class ErrorDetailsActivity extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_error_details);
		Intent intent = getIntent();
		String msg = intent.getStringExtra("errMsg");
		TextView txtErrDesc = (TextView) findViewById(R.id.txtErrDesc);
		txtErrDesc.setText(msg);
	}

	
	public void btnGoBack_click(View v){
		this.finish();
	}
}
